import Vue from 'vue';
import Router from 'vue-router';
import Home from '../components/Home';
import Look from '../components/User/Look';
import System from '../components/chart/System';
import Example from '../components/chart/Example';
import Manage from '../components/User/Manage';
import Heat from '../components/chart/Heat';
import Base from '../components/report/Base';
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home,
    },
    {
      path: '/user/look',
      name: 'user/look',
      component : Look
    },
    {
      path: '/user/manage',
      name: 'user/manage',
      component : Manage
    },
    {
      path: '/chart/system',
      name: '/chart/system',
      component : System
    },
    {
      path: '/chart/example',
      name: '/chart/example',
      component : Example
    },
    {
      path: '/chart/heat',
      name: '/chart/heat',
      component : Heat
    },
    {
      path: '/report/base',
      name: '/report/base',
      component : Base
    },
  ]
})
